package com.shangxia.dog.base.mapper;

import com.shangxia.dog.base.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author shangxia
 * @since 2022-02-03
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> getMenuByAdminId(Long adminId);

    List<Menu> getAllMenus();

    List<Menu> getMenusByRole();
}
